package cn.bx.film.entity;

import java.io.Serializable;

public class FilmInfo implements Serializable {
    private int filmID;
    private int typeID;
    private String filmName;
    private String actor;
    private String director;
    private double ticketPrice;

    //表关联
    private String typeName;

    public FilmInfo() {
    }

    public FilmInfo(int filmID, int typeID, String filmName, String actor, String director, double ticketPrice) {
        this.filmID = filmID;
        this.typeID = typeID;
        this.filmName = filmName;
        this.actor = actor;
        this.director = director;
        this.ticketPrice = ticketPrice;
    }

    public int getFilmID() {
        return filmID;
    }

    public void setFilmID(int filmID) {
        this.filmID = filmID;
    }

    public int getTypeID() {
        return typeID;
    }

    public void setTypeID(int typeID) {
        this.typeID = typeID;
    }

    public String getFilmName() {
        return filmName;
    }

    public void setFilmName(String filmName) {
        this.filmName = filmName;
    }

    public String getActor() {
        return actor;
    }

    public void setActor(String actor) {
        this.actor = actor;
    }

    public String getDirector() {
        return director;
    }

    public void setDirector(String director) {
        this.director = director;
    }

    public double getTicketPrice() {
        return ticketPrice;
    }

    public void setTicketPrice(double ticketPrice) {
        this.ticketPrice = ticketPrice;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    @Override
    public String toString() {
        return "FilmInfo{" +
                "filmID=" + filmID +
                ", typeID=" + typeID +
                ", filmName='" + filmName + '\'' +
                ", actor='" + actor + '\'' +
                ", director='" + director + '\'' +
                ", ticketPrice=" + ticketPrice +
                '}';
    }
}
